package liu.de.web;

import liu.de.dto.Bean;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author liude
 */
@RestController
public class MyController {

    @PostMapping("/bean")
    public Bean create(@RequestBody Bean bean) {
        return bean;
    }
}
